package com.yami.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yami.shop.bean.model.MeltCloudUsergroup;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MeltCloudUsergroupMapper extends BaseMapper<MeltCloudUsergroup> {

    List<MeltCloudUsergroup> getByUserId(@Param("groupId") Long groupId, @Param("userId") String userId);


    List<MeltCloudUsergroup> getByChannelId(@Param("groupId") Long groupId, @Param("channelId") String channelId);

}
